<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
		
		var company=[ "APPLE", "IBM", "XIAOMI","HUAWEI"];
		
		for(var i in company)
		{
			document.write("company数组中第"+i+"个元素的值是："+company[i]+"<br/>");
		}
		
		</script>
	</body>
</html>